﻿using ERPSystem.Common.BaseEntitys;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.Domains.Material
{
    /// <summary>
    /// 物料基本档
    /// </summary>
    [SugarTable("MaterialInformation")]
    public class MaterialInformation : BaseEntity
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int IteminformationId { get; set; }
        /// <summary>
        /// 级联外键
        /// </summary>
        public int MaterialTypeId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string ItemBianma { get; set; }
        /// <summary>
        /// 主计量外键
        /// </summary>
        public int MeasureId { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string ItemName { get; set; }
        /// <summary>
        /// 供应方式
        /// </summary>
        public int SupplyId { get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Modelspecification { get; set; }
        /// <summary>
        /// 图纸号
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string Drawingnumber { get; set; }
        /// <summary>
        /// 规格描述
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)")]
        public string description { get; set; }
    }

}
